package com.scoring.system.pojo;

public class Major {
    private Integer id;

    private String name;

    private Integer colleageId;
    
    private Colleage colleage;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Integer getColleageId() {
        return colleageId;
    }

    public void setColleageId(Integer colleageId) {
        this.colleageId = colleageId;
    }

	public Colleage getColleage() {
		return colleage;
	}

	public void setColleage(Colleage colleage) {
		this.colleage = colleage;
	}

	@Override
	public String toString() {
		return "Major [id=" + id + ", name=" + name + ", colleageId=" + colleageId + "]";
	}
	
    
}